package wxshop.api.admin.service;

import wxshop.api.admin.model.Admin;
import wxshop.api.admin.model.FormResult;
import wxshop.api.admin.model.LevelUpRules;
import wxshop.api.admin.model.PriceRules;

import java.util.List;

/**
 * Created by 121874694@qq.com on 2018/3/2.
 */
public interface SysManageService {
	//查看系统用户
    FormResult selectAllAdmin();
    //修改用户权限
    FormResult updateAccessByid(int id,int roleid);
    //删除系统用户
    FormResult deleteSysAdminById(Admin admin);
    FormResult selectAccessList();
    // 插入价格规则
    FormResult insertPriceRules(PriceRules priceRules);
    //修改价格规则
    FormResult updatePriceRules(PriceRules priceRules);
    //删除价格规则
    FormResult deletePriceRulesById(PriceRules priceRules);
    //查看价格规则
    FormResult selectPriceRules();

    // 插入会员升级规则
    FormResult insertLevelUpRules(LevelUpRules levelUpRules);
    // 修改会员升级规则
    FormResult updateLevelUpRulesBy(LevelUpRules levelUpRules);
    // 删除会员升级规则
    FormResult deleteLevelUpRulesById(LevelUpRules levelUpRules);
    // 查看会员升级规则
    FormResult selectLevelUpRules();
}
